package com.tianji.api.client.remark;

import com.tianji.api.client.remark.fallback.RemarkClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Set;

/*
 *   Description RemarkClient
 *   @author zhangyan
 *   @time   2024/12/27
 */
@FeignClient(value = "remark-service", fallbackFactory = RemarkClientFallback.class)
@RequestMapping("/likes")
public interface RemarkClient {
    @GetMapping("/list")
    Set<Long> isBizLiked(@RequestParam("bizIds") List<Long> bizIds);

}
